package com.synnex.mobile.servier.core.notification.dao;

import com.synnex.mobile.servier.core.notification.dto.DeviceToken;
import com.synnex.mobile.servier.core.notification.dto.Notification;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: kerryf
 * To change this template use File | Settings | File Templates.
 */
public interface NotificationDao {

    List<Notification> getNotifications(int begin, int size,String from);

    Integer countNotification(String from);

    void addNotification(Notification notification);

    void updateNotification(Notification notification);

    void deleteNotify(Integer id);


    Notification getNotificationById(Integer id);

    List<Notification> getNotifications(Date old, Date future);
}
